package com.huazhen.itrip.biz.service.hotelextendproperty;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huazhen.itrip.beans.pojo.ItripHotelExtendProperty;
import com.huazhen.itrip.dao.hotelextendproperty.ItripHotelExtendPropertyMapper;
@Service("ItripHotelExtendPropertyService")
public class ItripHotelExtendPropertyServiceImpl implements ItripHotelExtendPropertyService {
	@Autowired
	private ItripHotelExtendPropertyMapper itripHotelExtendPropertyMapper;
	@Override
	public ItripHotelExtendProperty getItripHotelExtendPropertyById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelExtendPropertyMapper.getItripHotelExtendPropertyById(id);
	}

	@Override
	public List<ItripHotelExtendProperty> getItripHotelExtendPropertyListByMap(Map<String, Object> param)
			throws Exception {
		// TODO Auto-generated method stub
		return itripHotelExtendPropertyMapper.getItripHotelExtendPropertyListByMap(param);
	}

	@Override
	public Integer getItripHotelExtendPropertyCountByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelExtendPropertyMapper.getItripHotelExtendPropertyCountByMap(param);
	}

	@Override
	public Integer insertItripHotelExtendProperty(ItripHotelExtendProperty itripHotelExtendProperty) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelExtendPropertyMapper.insertItripHotelExtendProperty(itripHotelExtendProperty);
	}

	@Override
	public Integer updateItripHotelExtendProperty(ItripHotelExtendProperty itripHotelExtendProperty) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelExtendPropertyMapper.updateItripHotelExtendProperty(itripHotelExtendProperty);
	}

	@Override
	public Integer deleteItripHotelExtendPropertyById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelExtendPropertyMapper.deleteItripHotelExtendPropertyById(id);
	}

}
